package com.shkco.mapper;

import com.shkco.domain.MovieTicket;
import com.shkco.domain.User;
import com.shkco.dto.MovieTicketDto;

import java.util.List;

public interface MovieTicketMapper {

    List<MovieTicket> findAll();

    MovieTicket findById(Long id);

    void update(MovieTicket movieTicket);


    void add(MovieTicketDto movieTicketDto);


    void userMovieUpdate(MovieTicketDto movieTicketDto);

    MovieTicketDto findUserMovieId(MovieTicketDto movieTicketDto);

    void updateUser(User user1);
}
